package cn.deepxi.base.mapper;



import cn.deepxi.base.query.BasicQuery;

import java.util.List;

public interface BaseMapper<T> {
    void add(T t);
    void del(Long id);
    void upt(T t);
    T findById(Long id);
    List<T> findAll();
    Long queryCount(BasicQuery query);
    List<T> queryData(BasicQuery query);
    void patchDel(List<Long> ids);
}
